//
//  RELocalTopTitleView.m
//  录音
//
//  Created by ywy on 2016/12/26.
//  Copyright © 2016年 Wely. All rights reserved.
//

#import "RELocalTopTitleView.h"

@implementation RELocalTopTitleView

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self =  [super initWithFrame: frame] ) {
        [self creatBaseUI:frame];
    }
    return self;
}
-(void)creatBaseUI:(CGRect)frame
{
    self.dateLabel = [[UILabel alloc] initWithFrame:CGRectMake(32, 0, frame.size.width-32, 30)];
    self.dateLabel.textAlignment = NSTextAlignmentCenter;
    self.dateLabel.textColor = RERGBColor(174, 174, 174);
    self.dateLabel.font = [UIFont systemFontOfSize:16.f];
    [self addSubview:self.dateLabel];
    self.dateView = [[UIImageView alloc] initWithFrame:CGRectMake(30, 3, 21, 22)];
    [self addSubview:self.dateView];
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/



@end
